package gq.example.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(name = "意见反馈关系类")
public class QuestionAndFeedback implements Serializable {
    @Schema(description = "意见反馈关系id")
    private Integer id;

    @Schema(description = "是否已读")
    private Integer isRead; // 是否已读

    @Schema(description = "问题id")
    private Integer questionId;

    @Schema(description = "反馈id")
    private Integer feedbackId;

    @Schema(description = "提出者id")
    private Long proposerId;

    @Schema(description = "回复者id")
    private Long replierId;

    @Schema(description = "提出者名称")
    private String proposerName; // 提出者

    @Schema(description = "回复者名称")
    private String replierName; // 回复人

    @Schema(description = "创建时间")
    private LocalDateTime  createTime; // 创建时间
}

